projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af9e385
)
filechooserentry: Set minimum key length to 0
author
Benjamin Otte
<otte@redhat.com>
Mon, 7 Nov 2011 02:51:25 +0000
(
03:51
+0100)
committer
Benjamin Otte
<otte@redhat.com>
Fri, 16 Dec 2011 19:09:13 +0000
(20:09 +0100)
We want the empty chooser to show possible completions, too.
gtk/gtkfilechooserentry.c
patch
|
blob
|
history
diff --git
a/gtk/gtkfilechooserentry.c
b/gtk/gtkfilechooserentry.c
index ecd51077d99de2ab066747919bb62f824b993d6f..159e80f23cd3363c18231307a912697ec55b77fe 100644
(file)
--- a/
gtk/gtkfilechooserentry.c
+++ b/
gtk/gtkfilechooserentry.c
@@
-191,6
+191,7
@@
_gtk_file_chooser_entry_init (GtkFileChooserEntry *chooser_entry)
comp = gtk_entry_completion_new ();
gtk_entry_completion_set_popup_single_match (comp, FALSE);
+ gtk_entry_completion_set_minimum_key_length (comp, 0);
/* see docs for gtk_entry_completion_set_text_column() */
g_object_set (comp, "text-column", FULL_PATH_COLUMN, NULL);